from django.urls import path

from . import views

urlpatterns = [
    path('areas/', views.AreasView.as_view()),
    path('areas/<areas_pk:pk>/', views.SubAreasView.as_view()),
    path('addresses/', views.AddressView.as_view()),
    path('addresses/<address_id>', views.UpdateDestroyAddressView.as_view()),
    path('addresses/<address_id>/default/', views.DefaultAddressView.as_view()),
    path('addresses/<address_id>/title/', views.UpdateTitleAddressView.as_view())
]
